#include "events.c"


void display_add_event_Call() //affiche simple
{
  GtkBuilder *monBuilder = gtk_builder_new();
  gtk_builder_add_from_file( monBuilder, "../EDT1.glade", NULL);

  GtkWidget *dialog = GTK_WIDGET(gtk_builder_get_object(monBuilder,"event")); 
  gtk_widget_show(dialog); 
}


void save_event_Call(GtkWidget *widget, gpointer data)
{
  GtkWidget *dialogBox = gtk_widget_get_toplevel(widget);

  gtk_widget_hide(dialogBox); //masquage du widget
  gtk_grab_remove(dialogBox); //relachement de la capture
}
